﻿#region
/* ===============================================
 * 作者：guopeng           时间：2012/2/2 20:55:53
 * 
 * 
 * 类描述：
 * 
 * 
 * =============================================== */
#endregion

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Jobs.Inf.Entity
{
    /// <summary>
    /// 简历
    /// </summary>
    [Table("ResumeSheet")]
    public class ResumeSheet
    {
        [Key]
        [DatabaseGenerated(System.ComponentModel.DataAnnotations.DatabaseGeneratedOption.Identity)]
        [Column("Id", TypeName = "int")]
        public int Id { get; set; }

        /// <summary>
        /// 如果是平台用户
        /// 用户名
        /// </summary>
        [Column("UserName", TypeName = "varchar")]
        [StringLength(200)]
        public string UserName { get; set; }

        /// <summary>
        /// 联系姓名
        /// </summary>
        [Column("RealName", TypeName = "nvarchar")]
        [StringLength(200)]
        public string RealName { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        [Column("Gender", TypeName = "bit")]
        public bool Gender { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        [Column("Age", TypeName = "int")]
        public int Age { get; set; }

        /// <summary>
        /// 目前身份
        /// 如：在校大学生 自由职业者 公司职员 
        /// </summary>
        [Column("Status", TypeName = "nvarchar")]
        [StringLength(200)]
        public string Status { get; set; }

        /// <summary>
        /// 如果是非登录人员
        /// 自我简介
        /// </summary>
        [Column("AboutMe", TypeName = "nvarchar")]
        [StringLength(2000)]
        public string AboutMe { get; set; }

        /// <summary>
        /// 联系方式
        /// </summary>
        [Column("Contact", TypeName = "nvarchar")]
        [StringLength(200)]
        public string Contact { get; set; }

    }
}
